package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Contract;
import cn.itcast.domain.cargo.ContractExample;
import cn.itcast.vo.ContractProductVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ContractService {


    PageInfo findAll(ContractExample example, Integer pageNum, Integer pageSize);

    void save(Contract contract);

    void update(Contract contract);

    Contract findById(String id);

    void delete(String id);

    List<ContractProductVo> findContractProductVoByShipTime(String inputDate, String companyId);
}
